/**
 * 
 */
package com.seguriapp.other;

import java.util.List;

import com.seguriapp.data.DataSource.DATAFORMAT;
import com.seguriapp.data.DataSource.DATASOURCE;
import com.seguriapp.entities.CrimeEntity;
import com.seguriapp.entities.Marker;

/**
 * @author pjohnson
 * 
 */
public class DownloadResult {

	private DATAFORMAT format;
	private DATASOURCE source;
	private List<Marker> markers;
	private List<CrimeEntity> crimes;

	private boolean error;
	public String errorMsg;
	public DownloadRequest errorRequest;

	public DATAFORMAT getFormat() {
		return format;
	}

	public void setFormat(DATAFORMAT format) {
		this.format = format;
	}

	public List<Marker> getMarkers() {
		return markers;
	}

	public DATASOURCE getSource() {
		return source;
	}

	public void setSource(DATASOURCE source) {
		this.source = source;
	}

	public void setMarkers(List<Marker> markers) {
		this.markers = markers;
	}

	public List<CrimeEntity> getCrimes() {
		return crimes;
	}

	public void setCrimes(List<CrimeEntity> crimes) {
		this.crimes = crimes;
	}

	public boolean isError() {
		return error;
	}

	public void setError(boolean error) {
		this.error = error;
	}

}
